<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>显示进度比文本</title>
<jsp:include page="common.jsp"></jsp:include>
</head>
<body>
	<div class="layui-progress layui-progress-big" lay-showPercent="true">
	  <div class="layui-progress-bar layui-bg-red" lay-percent="1/3"></div>
	</div>
	       
	<div class="layui-progress layui-progress-big" lay-showPercent="yes">
	  <div class="layui-progress-bar layui-bg-red" lay-percent="30%"></div>
	</div>
	 
	<div class="layui-progress layui-progress-big" lay-showPercent="yes">
	  <div class="layui-progress-bar layui-bg-green" lay-percent="50%"></div>
	</div>
</body>
<script>
	//注意进度条依赖 element 模块，否则无法进行正常渲染和功能性操作
	layui.use('element', function(){
	   var element = layui.element;
	});
</script>
      
</html>